![]() |
TestDeviceAttribute |
||||
Header: | Quickdraw.h | Carbon status: | Supported | |
Determines whether the flag bit for an attribute has been set in the gdFlags field of a GDevice structure.
Boolean TestDeviceAttribute ( GDHandle gdh, SInt16 attribute );
A handle to a GDevice structure.
One of the specific constants, which represent bits in the gdFlags field of a GDevice structure. See
TRUE if the bit of the graphics device attribute specified in the attribute parameter is set to 1. Otherwise, TestDeviceAttribute returns FALSE.0
Use the SetDeviceAttribute function to change any of the flags tested by the TestDeviceAttribute function.
The TestDeviceAttribute function may move or purge memory blocks in the application heap; do not call this function at interrupt time.
Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.
© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)